package main.java.com.huizluo.stagetwo.phone;

import java.util.ArrayList;
import java.util.List;

//用户消费 记录用户消费信息
public class CostTotal {

    private List<Integer> callTimeTotal = new ArrayList<Integer>();//通话时间记录
    private List<Integer> NetFlowTotal = new ArrayList<Integer>();//流量统计记录
    private List<Double> cost = new ArrayList<Double>();//消费金额记录


    public List<Integer> getCallTimeTotal() {
        return callTimeTotal;
    }

    public List<Integer> getNetFlowTotal() {
        return NetFlowTotal;
    }

    public List<Double> getCost() {
        return cost;
    }

    public void callTimeAdd(Integer time) {
        this.callTimeTotal.add(time);
    }

    public void NetFlowAdd(Integer flow) {
        this.NetFlowTotal.add(flow);
    }

    public void costAdd(Double cost) {
        this.cost.add(cost);
    }

    public void printInfo(){
        System.out.println("打印消费记录");
        System.out.println(this.callTimeTotal);
        System.out.println(NetFlowTotal);
        System.out.println(cost);
    }
}
